package org.yly.game.rpggame.domain.model.player;

/**
 * 关系类型
 * 
 * @author makefu
 * 
 */
public enum RelationType {
	Friend(0), Enemy(1);

	private int value;

	private RelationType(int value) {
		this.value = value;
	}

	public int getValue() {
		return this.value;
	}

	public boolean isFriend() {
		return this == RelationType.Friend;
	}

	public boolean isEnemy() {
		return this == RelationType.Enemy;
	}
}
